Pulmonary function testing and esophageal pressure